package com.example.springstydy.Service;

import com.example.springstydy.pojo.User;
import org.springframework.stereotype.Service;

public interface UserService {
    User findByName(String username);

    void register(String username, String password);

    void update(User user);

    void updateAvatar(String avatarUrl);
}
